package cn.tyoui.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.tyoui.bean.XyffBean;
import cn.tyoui.bean.YfzlBean;
import cn.tyoui.mapping.YfzlManageMapper;
import cn.tyoui.service.YfzlManageService;
@Service("yfzlManageService")
public class YfzlManageServiceImpl implements YfzlManageService {

	@Resource
	private YfzlManageMapper yfzlManageMapper;
	@Override
	public boolean addYfzl(YfzlBean yfzl) throws Exception {
		return yfzlManageMapper.addYfzl(yfzl);
	}

	@Override
	public List<YfzlBean> queryYfzl(YfzlBean yfzl) throws Exception {
		return yfzlManageMapper.queryYfzl(yfzl);
	}

	@Override
	public void changeYfzl(YfzlBean yfzl) throws Exception {
		yfzlManageMapper.changeYfzl(yfzl);
	}

	@Override
	public void deleteYfzl(String id) throws Exception {
		yfzlManageMapper.deleteYfzl(id);
	}

}
